x86: emulate lea with two register operands correctly
authorDavid Vrabel <david.vrabel@citrix.com>
Thu, 5 Jan 2012 15:47:16 +0000 (15:47 +0000)
committerDavid Vrabel <david.vrabel@citrix.com>
Thu, 5 Jan 2012 15:47:16 +0000 (15:47 +0000)
commitc5a6b9776b4387d14ae068d9a269f2c8518076dc
tree9469e3eaa63eb136624b398a4492d0da509c73c0
parent792988396a7620345b0fa4e9ef4d8a9824e724af
x86: emulate lea with two register operands correctly

An lea instruction with two register operands should raise an
undefined instruction exception.

Skype does such a instruction and will crash when starting if it does
not get the exception.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: Keir Fraser <keir@xen.org>
Committed-by: Keir Fraser <keir@xen.org>
xen/arch/x86/x86_emulate/x86_emulate.c